using System;
using System.Collections.Generic;
using System.Text;
using OB;
using OpenTK.Math;

namespace raycaster
{
  public class Ray
  {
    Vector3 origin, direction;

    public Ray(Vector3 origin, Vector3 direction)
    {
      this.origin = origin;
      this.direction = direction;
    }

    public Vector3 Origin
    {
      get
      {
        return origin;
      }
    }

    public Vector3 Direction
    {
      get
      {
        return direction;
      }
    }

    public static void SelfTest(ITestToolkit tk)
    {
      Ray r = new Ray(Vector3.UnitX, Vector3.UnitX);
      Vector3 origin = r.Origin;
      Vector3 dir = r.Direction;
    }
  }
}
